home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
CD Fun House 1
/
CD Fun House (Wayzata Technology).iso
/
•The School House•
/
QuizMaster v.10 •••
/
QuizMaster V1.0
/
QuizMaster V1.0.rsrc
/
CODE_10280_CloseResFile.txt
< prev
next >
Wrap
Text File
|
1988-10-21
|
1KB
|
28 lines
# near model CODE resource
# this CODE claims to have no jump table entries (but starts at 0008)
00000000 4E56 0000 link A6, 0
00000004 4EAD 002A jsr [A5 + 0x2A /* export_1 */]
00000008 0C00 0003 cmpi.b D0, 0x3
0000000C 6600 0014 bne +0x16 /* 00000022 */
00000010 0C52 0000 cmpi.w [A2], 0x0
00000014 6700 0018 beq +0x1A /* 0000002E */
00000018 3F12 move.w -[A7], [A2]
0000001A A99A syscall CloseResFile
0000001C 4E5E unlink A6
0000001E 7000 moveq.l D0, 0x00
00000020 4E75 rts
label00000022:
00000022 4E5E unlink A6
00000024 343C 000D move.w D2, 0xD /* '\r' */
00000028 4EAD 0042 jsr [A5 + 0x42 /* export_4 */]
0000002C 4E75 rts
label0000002E:
0000002E 4E5E unlink A6
00000030 343C 0005 move.w D2, 0x5
00000034 4EAD 0042 jsr [A5 + 0x42 /* export_4 */]
00000038 4E75 rts
0000003A 4E5E unlink A6
0000003C 343C 000E move.w D2, 0xE
00000040 4EAD 0042 jsr [A5 + 0x42 /* export_4 */]
00000044 4E75 rts